// 封装和分类相关的所有的接口
import request from '@/utils/http'
export function getCategoryAPI () {
  return request('/home/category/head', 'GET', {})
}

export function getBannerAPI () {
  return request('/home/banner', 'GET', {})
}

export function getNewAPI () {
  return request('/home/new', 'GET', {})
}

export const findHotAPI = () => {
  return request('home/hot', 'get', {})
}
